package com.atguigu.spzx.cloud.order;

import com.atguigu.spzx.cloud.order.config.DefaultFeignConfiguration;
import com.atguigu.spzx.cloud.order.entity.PatternProperties;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
@EnableFeignClients(defaultConfiguration = DefaultFeignConfiguration.class)//openfiegn配置全局生效
@EnableConfigurationProperties(value = { PatternProperties.class })
public class OrderApplication {

    public static void main(String[] args) {
        SpringApplication.run(OrderApplication.class , args) ;
    }

}